package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LoginLogPageRequest implements Serializable {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long personId;
    /**
     * 登录时间（小于）
     */
    @ApiModelProperty(value = "登录时间（小于）")
    private LocalDateTime loginTimeLt;
    /**
     * 分页行数
     */
    @NotNull(message = "分页行数不能为空！")
    @ApiModelProperty(value = "分页行数")
    private Long size;
    /**
     * 当前页数
     */
    @NotNull(message = "当前页数不能为空！")
    @ApiModelProperty(value = "当前页数")
    private Long current;
}